﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class Studen
    {
        public string sname { get; set; }
        public Studen(String Sname)
        {
            this.sname = Sname;
        }
        public void teacherinfo()
        {
            Console.WriteLine("大家好！我是{0}，我的老师叫{1}",this.sname,Program.tname);
        }
    }
}
